#ifndef SK_TRIANGLE_SHAPE_H
#define SK_TRIANGLE_SHAPE_H

#include "sk_game_shape.h"


namespace sk
{

    class TriangleShape : public GameShape
    {
    public:
        TriangleShape();


        virtual void setData(void *);
        virtual int type();
        b2Body * addToWorld(b2World * world);
        virtual GameShape * clone();
        void serialiseCustomShapeData(QDomDocument * doc, QDomElement * e);
        bool deserialiseCustomShapeData(QDomElement * e);        

        virtual QString xmlType();
        static QString XmlType();

        float dx0, dy0, dx1, dy1;
    };

} // namespace sk

#endif // SK_TRIANGLE_SHAPE_H
